package com.project.service.Impl;

import com.project.bean.CountryBean;
import com.project.dao.ICountryDao;
import com.project.dao.impl.CountryDaoImpl;
import com.project.service.ICountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CountryServiceImpl implements ICountryService {
    @Autowired
    private ICountryDao dao;

    @Override
    public List<CountryBean> findAll() {
        return dao.findAll();
    }
}
